package com.eedi.org.hospital.enmus;

import com.eedi.framework.common.enums.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 医院等级
 */
@Getter
@AllArgsConstructor
public enum OrgHospitalLevelTypeEnum implements BaseEnum<Integer,String> {
    /**
     * 三级甲等
     */
    THIRD_FIRST(1,"三级甲等"),
    /**
     * 三级乙等
     */
    THIRD_SECOND(2,"三级乙等"),
    /**
     * 三级丙等
     */
    THIRD_THIRD(3,"三级丙等"),

    /**
     * 二级甲等
     */
    SECOND_FIRST(4,"二级甲等"),
    /**
     * 二级乙等
     */
    SECOND_SECOND(5,"二级乙等"),
    /**
     * 二级丙等
     */
    SECOND_THIRD(6,"二级丙等"),

    /**
     * 一级甲等
     */
    FIRST_FIRST(7,"一级甲等"),
    /**
     * 一级乙等
     */
    FIRST_SECOND(8,"一级乙等"),
    /**
     * 一级丙等
     */
    FIRST_THIRD(9,"一级丙等"),
    ;

    /**
     * 状态值
     */
    private final Integer code;
    /**
     * 状态名
     */
    private final String desc;

    @Override
    public String title() {
        return "医院等级";
    }
}
